/***************************************************************
 * Name:      rdesktopsMain.h
 * Purpose:   Defines Application Frame
 * Author:    Steven Lee (steven.tc.lee@gmail.com)
 * Created:   2009-07-10
 * Copyright: Steven Lee (http://code.google.com/p/rdesktops/)
 * License:
 **************************************************************/

#ifndef RDESKTOPSMAIN_H
#define RDESKTOPSMAIN_H

//(*Headers(rdesktopsFrame)
#include <wx/notebook.h>
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/menu.h>
#include <wx/textctrl.h>
#include <wx/checkbox.h>
#include <wx/splitter.h>
#include <wx/listbox.h>
#include <wx/toolbar.h>
#include <wx/panel.h>
#include <wx/button.h>
#include <wx/frame.h>
#include <wx/statusbr.h>
//*)

#include <wx/icon.h>

#include "rdesktops.h"

class rdesktopsFrame: public RDesktops
{
    public:

        rdesktopsFrame(wxWindow* parent,wxWindowID id = -1);
        virtual ~rdesktopsFrame();

    private:

        //(*Handlers(rdesktopsFrame)
        void OnQuit(wxCommandEvent& event);
        void OnAbout(wxCommandEvent& event);
        void OnbtnConnectClick(wxCommandEvent& event);
        void OnSaveButtonClick(wxCommandEvent& event);
        void OnProfileListBoxSelect(wxCommandEvent& event);
        void OnProfileListBoxDClick(wxCommandEvent& event);
        void OnCloseButtonClick(wxCommandEvent& event);
        //*)

        //(*Identifiers(rdesktopsFrame)
        static const long ID_LISTBOX1;
        static const long ID_STATICTEXT1;
        static const long ID_TEXTCTRL1;
        static const long ID_STATICTEXT2;
        static const long ID_TEXTCTRL2;
        static const long ID_STATICTEXT3;
        static const long ID_TEXTCTRL3;
        static const long ID_STATICTEXT4;
        static const long ID_TEXTCTRL4;
        static const long ID_STATICTEXT5;
        static const long ID_TEXTCTRL5;
        static const long ID_STATICTEXT6;
        static const long ID_CHECKBOX1;
        static const long ID_PANEL2;
        static const long ID_NOTEBOOK1;
        static const long ID_BUTTON1;
        static const long ID_BUTTON2;
        static const long ID_BUTTON3;
        static const long ID_PANEL1;
        static const long ID_SPLITTERWINDOW1;
        static const long idMenuQuit;
        static const long idMenuAbout;
        static const long ID_STATUSBAR1;
        static const long idOptions;
        static const long ID_TOOLBAR1;
        //*)

        //(*Declarations(rdesktopsFrame)
        wxListBox* profileListBox;
        wxToolBar* ToolBar1;
        wxNotebook* Notebook1;
        wxButton* closeButton;
        wxStaticText* StaticText2;
        wxStaticText* StaticText6;
        wxButton* connectButton;
        wxTextCtrl* txtUser;
        wxButton* saveButton;
        wxPanel* Panel1;
        wxStaticText* StaticText1;
        wxStaticText* StaticText3;
        wxTextCtrl* txtHost;
        wxToolBarToolBase* ToolBarItem1;
        wxTextCtrl* txtDomain;
        wxStaticText* StaticText5;
        wxStatusBar* StatusBar1;
        wxTextCtrl* txtPassword;
        wxTextCtrl* txtName;
        wxPanel* Panel2;
        wxSplitterWindow* SplitterWindow1;
        wxStaticText* StaticText4;
        wxCheckBox* chkAttachConsole;
        //*)

        wxListBox* getProfileListBox() { return profileListBox; }
        wxTextCtrl* getNameTextCtrl() { return txtName; }
        wxTextCtrl* getHostTextCtrl() { return txtHost; }
        wxTextCtrl* getDomainTextCtrl() { return txtDomain; }
        wxTextCtrl* getUserTextCtrl() { return txtUser; }
        wxTextCtrl* getPasswordTextCtrl() { return txtPassword; }
        wxCheckBox* getAttachConsoleCheckBox() { return chkAttachConsole; }


        DECLARE_EVENT_TABLE()
};

#endif // RDESKTOPSMAIN_H
